package com.behome.netty.common;

import lombok.Data;

public class DecodeResult {
    private boolean isSuccess;
    private boolean isRightDecoder;

    public DecodeResult(boolean isSuccess, boolean isRightDecoder) {
        this.isSuccess = isSuccess;
        this.isRightDecoder = isRightDecoder;
    }

    public boolean isSuccess() {
        return this.isSuccess;
    }

    public void setSuccess(boolean isSuccess) {
        this.isSuccess = isSuccess;
    }

    public boolean isRightDecoder() {
        return this.isRightDecoder;
    }

    public void setRightDecoder(boolean isRightDecoder) {
        this.isRightDecoder = isRightDecoder;
    }
}
